<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加商品</title>
</head>
<body>
<%
    if (request.getAttribute("tv_msg") != null)
    {
%>
<h2><%= request.getAttribute("tv_msg") %></h2>
<%
    }
%>
<h3>当前分类： <%= session.getAttribute("kind") %></h3>
<form action="saveTV">
    <input type="text" name="id" placeholder="编号">
    <br> <br>
    <input type="text" name="name" placeholder="名称">
    <br> <br>
    <input type="text" name="price" placeholder="价格">
    <br> <br>
    <input type="text" name="hz" placeholder="分辨率">
    <br> <br>
    <input type="hidden" name="kind" value=<%=session.getAttribute("kind")%>>
    <input type="submit">
</form>
</body>
</html>
